package com.pearadmin.system.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.pearadmin.common.nucleus.base.BaseModel;
import lombok.Data;

@Data
@TableName("sys_dept")
public class SysDept extends BaseModel {

    @TableId(value = "id",type = IdType.ID_WORKER_STR)
    private String id;
    @TableField("pid")
    private String pid;
    @TableField("code")
    private String code;
    @TableField("name")
    private String name;
    @TableField("leader")
    private String leader;
    @TableField("phone")
    private String phone;
    @TableField("email")
    private String email;
    @TableField("description")
    private String description;
}
